<?php
function isLogin(){
    return $_SESSION['username']?:'';
}

function createUserPassWord($password){
    $pd = password_hash($password,PASSWORD_DEFAULT);
    echo $password.'：'.$pd;
}